package com.weishi.project.training.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * trainingWeek
 */
@Data
@TableName("tbl_training_week")
public class TrainingWeek implements Serializable {
    private static final long serialVersionUID = 1L;

    /** PK */
    private Integer id;
    
    /** 周期ID */
    @Excel(name = "周期ID")
    private Integer annualPlanId;
    
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;
    
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;
    
    /** 所属第几周 */
    @Excel(name = "所属第几周")
    private Integer week;
    
    /** 强度 */
    @Excel(name = "强度")
    private String strength;
    
    /** 训练地点 */
    @Excel(name = "训练地点")
    private Integer trainingLocationId;
    @TableField(exist = false)
    private String trainingLocationName;

    /** 领队 */
    @Excel(name = "领队")
    private Integer teamLeader;
    @TableField(exist = false)
    private String teamLeaderName;
    
    /** 主教练 */
    @Excel(name = "主教练")
    private Integer headCoach;
    @TableField(exist = false)
    private String headCoachName;
    
    /** 专项教练 */
    @Excel(name = "专项教练")
    private Integer specialCoach;
    @TableField(exist = false)
    private String specialCoachName;
    
    /** 体能教练 */
    @Excel(name = "体能教练")
    private Integer fitnessCoach;
    @TableField(exist = false)
    private String fitnessCoachName;
    
    /** 队医 */
    @Excel(name = "队医")
    private Integer teamDoctor;
    @TableField(exist = false)
    private String teamDoctorName;
    
    /** 周计划描述 */
    @Excel(name = "周计划描述")
    private String outline;
    
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    @Excel(name = "周名称")
    private String weekName;

    @Excel(name = "周型")
    private String type;

    @Excel(name = "周计划")
    private String plan;

    @Excel(name = "周总结")
    private String summary;

    @Excel(name = "缺勤备注")
    private String memo;
    /**
     * 训练周期名称 非数据库字段
     */
    @TableField(exist = false)
    private String cycleName;
    
}